package yxy.game.pm2.bean.mq;

import yxy.cherry.game.base.mq.MqMessage;
import yxy.game.pm2.bean.Currency;

import java.util.Date;

/** 资源消耗 */
public class MqMsg_CurrencyDecrease extends MqMessage {

	@Override
	public String tags() {
		return "CurrencyDecrease";
	}

	private long uid;// 用户id
	private String code;// 角色code
	private Date time;// 创建时间
	private int serverid;
	
	private CCReason reason;// 变动原因

	private Currency currency;	//变动资源
//	private ArrayList<Currency> currencies;// 变动的资源

	public long getUid() {
		return uid;
	}

	public void setUid(long uid) {
		this.uid = uid;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public int getServerid() {
		return serverid;
	}

	public void setServerid(int serverid) {
		this.serverid = serverid;
	}

	public CCReason getReason() {
		return reason;
	}

	public void setReason(CCReason reason) {
		this.reason = reason;
	}

	public Currency getCurrency() {
		return currency;
	}

	public void setCurrency(Currency currency) {
		this.currency = currency;
	}

}
